package cn.exrick.mapper;

import cn.exrick.pojo.TbResource;
import cn.exrick.pojo.TbResourceExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface TbResourceMapper {

    int countByExample(TbResourceExample example);

    int deleteByExample(TbResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbResource record);

    int insertSelective(TbResource record);

    List<TbResource> selectByExample(TbResourceExample example);

    TbResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbResource record, @Param("example") TbResourceExample example);

    int updateByExample(@Param("record") TbResource record, @Param("example") TbResourceExample example);

    int updateByPrimaryKeySelective(TbResource record);

    int updateByPrimaryKey(TbResource record);

    List<TbResource> selectByPage(Map<String, Object> paramsMap);

}